package cn.lyjuan.payment.third.base.pay.chl.impl.iap.bean;

import cn.lyjuan.payment.third.base.pay.enums.SimpleChlEnum;
import cn.lyjuan.payment.third.base.pay.vo.req.ChlCnf;

public class IapChlCnf extends ChlCnf {

    /**
     * 回调地址
     */
    protected String notifyUrl;

    /**
     * 返回地址
     */
    protected String returnUrl;

    public IapChlCnf() {
    }

    public IapChlCnf(SimpleChlEnum chlType, String appId, String key, String certPath, String notifyUrl, String returnUrl) {
        super(chlType, appId, key, certPath);
        this.notifyUrl = notifyUrl;
        this.returnUrl = returnUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    @Override
    public String toString() {
        return "IapChlCnf{" +
                ", key='" + key + '\'' +
                ", notifyUrl='" + notifyUrl + '\'' +
                ", returnUrl='" + returnUrl + '\'' +
                '}';
    }
}
